package utils

import (
	"github.com/gogf/gf/os/gtime"
	"github.com/gogf/gf/util/gconv"
	"github.com/gogf/gf/util/grand"
)

func GetOrderNo(payMode string) string {
	no := gtime.Now().Format("ymdHisu")
	r := gconv.String(grand.N(1000, 9999))

	return payMode + no + r
}
